package edu.ynu.se.xiecheng.achitectureclass.project.po.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SoilTemperatureDTO {

    private Double value;
    private String timestamp;
    private String dayOfWeek;

    // 构造函数，用于创建空值对象
    public static SoilTemperatureDTO createEmpty(String dayOfWeek) {
        SoilTemperatureDTO dto = new SoilTemperatureDTO();
        dto.setValue(0.0);
        dto.setDayOfWeek(dayOfWeek);
        return dto;
    }

    // getters and setters
}
